import { axios } from '@/utils/request'

const api = {
  activiti: '/activiti'
}

export function getModelId () {
  return axios({
    url: api.activiti + '/activiti/model/add',
    method: 'get'
  })
}
export function deployActReModel(parameter) {
  return axios({
    url: api.activiti + '/activiti/model/deploy/'+parameter.id,
    method: 'post',
    params: parameter
  })
}
export function getModelList (parameter) {
  return axios({
    url: api.activiti + '/activiti/model/list',
    method: 'get',
    params: parameter
  })
}
export const activitiExport = api.activiti + '/export'
